package com.lp.acc;

import com.lp.User;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author: lp
 * @create: 2024-01-25 22:48
 * @description: TODO
 */
public class MyApplicationContextTest {
	public static void main(String[] args) {
		ApplicationContext ac = new MyApplicationContext("spring-acc.xml");
		User user = (User) ac.getBean("user");
		System.out.println(user);
	}
}
